package edu.study.user.dao.mapperExt;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.Page;

import edu.study.user.api.dto.DepartmentDto;
import edu.study.user.api.req.department.QueryDepartmentPageListReq;
import edu.study.user.dao.mapper.DepartmentDOMapper;
import edu.study.user.dbBean.DepartmentDO;

public interface DepartmentDOMapperExt extends DepartmentDOMapper {
	
	DepartmentDO queryByDepartmentNo(String departmentNo);
	
	DepartmentDO queryDepartmentForCheck(@Param("parentDepartmentNo") String parentDepartmentNo, @Param("departmentName") String departmentName, @Param("domainNo") String domainNo);
		
	List<DepartmentDto> queryByParentDepartmentNo(String parentDepartmentNo);
	
	Page<DepartmentDto> queryDepartmentPageList(QueryDepartmentPageListReq req);
}